package jin.chen.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@ApiModel(value = "用户对象注册业务Bo", description = "客户端传入数据封装在此Bo中")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UsersBo {
    @ApiModelProperty(value = "用户", name = "username", example = "cj", required = true)
    private String username;
    @ApiModelProperty(value = "密码", name = "password", example = "123456", required = true)
    private String password;
    @ApiModelProperty(value = "二次确认密码", name = "confirmPassword", example = "123456", required = false)
    private String confirmPassword;

}
